package dungeonDigger.enums;

public enum AbilityDeliveryMethod {
	SELF_ONLY(false, false), 				// Buff
	MOUSE_PROJECTILE(true, true),		// Immediately fires in direction of mouse
	CLICK_PROJECTILE(true, true),		// Waits until you click and then fires in direction of mouse
	FRONTAL_PROJECTILE(true, true),		// Immediately fires in direction your character is facing
	BLAST(false, false), 					// Waits until you click and then bursts from where your mouse is
	BURST(false, false),					// Immediately bursts from your character
	FRONTAL_CONE(true, false),			// Immediately fires on all in front of your character
	MOUSE_CONE(true, false);				// Waits until you click and then fires on all in front of your character
	private boolean	isLooped, diesOnCollide;

	private AbilityDeliveryMethod(boolean looped, boolean dieOnCollide) {
		this.isLooped = looped;
		this.diesOnCollide = dieOnCollide;
	}

	public boolean isLooped() {
		return this.isLooped;
	}

	public boolean isOneHit() {
		return this.diesOnCollide;
	}
}
